package com.test.vote.mapper;


import com.test.vote.pojo.User;

import java.util.List;

public interface UserDao {

    int deleteByPrimaryKey(User user);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    User ifPsw(User user);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> selectUser();

    User selectUserByAccount(User user);

    User userLogin(User user);
}